﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/main.Master" CodeBehind="HOME1.aspx.vb" Inherits="moviesblogspot.Welcome" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Label ID="Label3" runat="server" BackColor="#CC0000" BorderColor="Black" 
                        BorderStyle="Dashed" ForeColor="White" Text="WELCOME TO BOLLYWOOD MOVIES BLOGSPOT"></asp:Label>


    <table style="width: 100%" align="center">
        <tr>
            <td style="width: 451px">
                <asp:Panel ID="Panel1" runat="server" Height="790px" Width="451px" 
                    HorizontalAlign="Left" style="margin-top: 0px" Direction="LeftToRight">
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label1" runat="server" BackColor="#CC0000" BorderColor="Black" 
                        BorderStyle="Dotted" ForeColor="#3333CC" Text="LATEST BOLLYWOOD NEWS"></asp:Label>
                        <br />
                        <br />
                                       
                   <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="NewsID" DataSourceID="SqlDataSource1" CellPadding="4" ForeColor="#333333" 
                        GridLines="None">
                       <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="newsid" 
                DataNavigateUrlFormatString="Sohaali.aspx?newsid={0}" 
                HeaderText="Latest News" DataTextField="Title" />
        </Columns>
                       <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                       <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                       <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                       <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                       <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                       <SortedAscendingCellStyle BackColor="#FDF5AC" />
                       <SortedAscendingHeaderStyle BackColor="#4D0000" />
                       <SortedDescendingCellStyle BackColor="#FCF6C0" />
                       <SortedDescendingHeaderStyle BackColor="#820000" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:MovieConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:MovieConnectionString.ProviderName %>" 
        SelectCommand="SELECT [NewsID], [Title] FROM [News]"></asp:SqlDataSource>
&nbsp;&nbsp;
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label4" runat="server" BackColor="Maroon" BorderColor="Black" 
                        BorderStyle="Dotted" ForeColor="Blue" Text=" AWARDS GALLERY"></asp:Label>
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="gallery.aspx">IDEA FILMFARE AWARDS 2011</asp:HyperLink>
                    <br />
                    <br />
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                        DataSourceID="SqlDataSource2" BackColor="White" BorderColor="#CC9966" 
                        BorderStyle="None" BorderWidth="1px" CellPadding="4">

                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="id1" 
                                DataNavigateUrlFormatString="Home.aspx?id1={0}" 
                                DataTextField="categories" HeaderText="Type of Movies" />
                        </Columns>

                        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                        <RowStyle BackColor="White" ForeColor="#330099" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                        <SortedAscendingCellStyle BackColor="#FEFCEB" />
                        <SortedAscendingHeaderStyle BackColor="#AF0101" />
                        <SortedDescendingCellStyle BackColor="#F6F0C0" />
                        <SortedDescendingHeaderStyle BackColor="#7E0000" />

                    </asp:GridView>

                    
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:MovieConnectionString %>" 
                        ProviderName="<%$ ConnectionStrings:MovieConnectionString.ProviderName %>" 
                        SelectCommand="SELECT [id1],[categories] FROM [categories]"></asp:SqlDataSource>

                    
                </asp:Panel>
                <td>
                    <asp:Panel ID="Panel2" runat="server">
                        <br />
                        <asp:Label ID="Label2" runat="server" BackColor="#CC0000" BorderColor="Black" 
                            BorderStyle="Dotted" ForeColor="#3333CC" Text="LATEST MOVIES RELEASED"></asp:Label>
                        <br />
                        <br />
                        <br />
                        <table style="width: 100%; height: 521px">
                            <tr>
                                <td style="width: 268px; height: 34px">
                                    <img src="Images/7khoon.jpg" 
                                        style="width: 267px; height: 271px" />
                                    <br />
                                </td>
                                <td style="width: 363px; height: 34px">
                                    <img src="Images/golmal.bmp" 
                                        style="width: 361px; height: 284px" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 268px">
                                    <img src="Images/turning30.jpg" 
                                        style="width: 265px; height: 191px" />
                                    <br />
                                </td>
                                <td style="width: 268px">
                                    <img src="Images/yamla.bmp" 
                                        style="width: 359px; height: 222px" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 268px">
                                    <img src="Images/anjana.jpg" 
                                        style="width: 265px; height: 141px" />
                                    <br />
                                </td>
                                <td style="width: 268px">
                                    <img src="Images/tmk.jpg" 
                                        style="width: 361px; height: 182px" />
                                </td>
                            </tr>
                            <%--<tr>
                                <td style="width: 268px">
                                    <img src="Images/run.jpg" 
                                        style="width: 250px; height: 270px" />
                                </td>
                                <td style="width: 268px">
                                    <img src="Images/patiala.jpg" 
                                        style="width: 356px; height: 275px" />
                                </td>
                            </tr>--%>
                        </table>
                        
                    </asp:Panel>
                </td>
            </td>
        </tr>
    </table>

</asp:Content>
